#include "Solution.h"
#include <iostream>

using namespace std;

int main()
{
	vector<Interval> intervals;
	intervals.push_back(Interval(1,2));
	intervals.push_back(Interval(3,5));
	intervals.push_back(Interval(6,7));
	intervals.push_back(Interval(8,10));
	intervals.push_back(Interval(12,16));

	Solution().insert(intervals,Interval(4,9));

	for(size_t i=0;i<intervals.size();i++)
	{
		cout<<intervals[i].start<<","<<intervals[i].end<<endl;
	}

	cin.get();
}